package com.attendance.service.impl;

import com.attendance.mapper.VacationMapper;
import com.attendance.model.Biz.BizVacation;
import com.attendance.model.Form.VacationForm;
import com.attendance.model.Vacation;
import com.attendance.service.IVacationService;
import com.baomidou.framework.service.impl.SuperServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *
 * Vacation 表数据服务层接口实现类
 *
 */
@Service
public class VacationServiceImpl extends SuperServiceImpl<VacationMapper, Vacation> implements IVacationService {

    @Autowired
    private VacationMapper vacationMapper;

    @Override
    public List<BizVacation> getAll(VacationForm vacationForm) {
        return this.vacationMapper.getAll(vacationForm);
    }
}